from django.conf.urls.defaults import *
#from django.views.generic import list_detail
from newosmp.host import models, views
#from newosmp.host.models import Host

#host = {
#    'queryset': Host.objects.all(),
#    'template_name': 'host.html',
#    'template_object_name': 'host',
#}

urlpatterns = patterns('',
#        (r'^$', views.host),
        (r'^$', views.index),
        (r'detail/$', views.detail),
        (r'idc/$', views.idc),
        (r'add/$', views.add),
        (r'modify/$', views.modify),
        (r'remove/$', views.remove),
        (r'list/$', views.list),
        (r'edit/$', views.edit),
        #(r'del/$', views.delete),
        (r'filter/$', views.filter),
        (r'search/$', views.search),
        (r'clone/$', views.clone),
        (r'room/$', views.room),
#        (r'getinfo/$', views.getinfo),
#        (r'info/$', views.info),

        
        (r'ajax_get_model/$', views.ajaxGetModel),
        (r'ajax_get_stra/$', views.ajaxGetStra),
        (r'ajax_get_group/$', views.ajaxGetGroup),
)
